package com.ftg.learn.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 *
 * StudentMapper
 *  StudentMapper.showall
 *   sqlcommandtype   @Select  mybaits想执行什么操作 select
 *   parametertype int a 参数类型
 *   resulttype List<Map<String,Object>>
 *   语句
 * @author kangjx
 * @date 2022/11/24
 */
public interface StudentMapper {

    @Select("select * from student")
    List<Map<String,Object>> showall();

}
